<?php
class Field {

	// String, field name in a table
	public $name;

	// String, sql data type
	public $type;

	// is Not Null, boolean
	public $nn;

	// is auto_increment, boolean
	public $ai;
	
	// Is real a field in the table
	public $isReal;
	
	public function __construct($name, $type, $nn, $ai, $real=true){
		$this->name = $name;
		$this->type = $type;
		$this->nn = $nn;
		$this->ai = $ai;
		$this->isReal = $real;
	}
}
?>
